#!/bin/sh
. ../commonenv.sh


# numeric literals

$JAVA/java -jar $FLEXLIB/asc.jar -import $TAMARIN/core/builtin.abc   numliterals.as
$TAMARIN_BIN/avmshell numliterals.abc

cp ../../AbcExplorationLib/abcexplorationlib.dll .
$FSHARPC -r abcexplorationlib.dll modify.fs
mono modify.exe numliterals.abc

$TAMARIN_BIN/avmshell numliterals_t.abc

# numeric literals

$JAVA/java -jar $FLEXLIB/asc.jar -import $TAMARIN/core/builtin.abc   pointclasstest.as
$TAMARIN_BIN/avmshell pointclasstest.abc

mono modify.exe pointclasstest.abc

$TAMARIN_BIN/avmshell pointclasstest_t.abc

# shapes
echo Shapes 1

$JAVA/java -jar $FLEXLIB/asc.jar -import $TAMARIN/core/builtin.abc   Shapes.as
$TAMARIN_BIN/avmshell Shapes.abc

mono modify.exe Shapes.abc

$TAMARIN_BIN/avmshell Shapes_t.abc

rm Shapes_t.abc
# shapes 2
echo Shapes 2

$JAVA/java -jar $FLEXLIB/asc.jar -import $TAMARIN/core/builtin.abc   Shapes.as
$TAMARIN_BIN/avmshell Shapes.abc

mono modify.exe Shapes.abc 2

$TAMARIN_BIN/avmshell Shapes_t.abc



